package top.cyuw.subjectsystem.dto.subject;

import lombok.Data;
import top.cyuw.subjectsystem.dto.BaseDto;

import javax.validation.constraints.Positive;
import java.util.List;

@Data
public class SubjectEditRequest extends BaseDto {

    @Positive(message = "选题ID不能为空")
    private Integer id;

    private String name;

    private String description;

    private List<Integer> limits;

}
